﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace OpenChart.Entities
{
    [Serializable]
    public class Series : ChartElement
    {
        /// <summary>
        /// 颜色
        /// </summary>
        public Color Color
        {
            get;
            set;
        }

        /// <summary>
        /// 对应的数据名称
        /// </summary>
        public string YValueMember
        {
            get;
            set;
        }

        private int _width = 1;
        /// <summary>
        /// 线条宽度
        /// </summary>
        public int Width
        {
            get { return _width; }
            set { _width = value; }
        }

        private Enums.AxisY _axisY = Enums.AxisY.AxisY;
        /// <summary>
        /// 纵坐标类型
        /// </summary>
        public Enums.AxisY AxisY
        {
            get { return _axisY; }
            set { _axisY = value; }
        }
    }
}
